const express = require('express')
//数据库连接模块
const connection = require('./db/index')
const router = require('./Router/index')
const app = express()
app.use(require('cors')())
app.use(express.json())
//全部路由模块化封装
app.use("/",router);









app.listen(3001,()=>{
    console.log('ok')
})